package com.archetypus.projectschedule.core.activities.sf;

import com.archetypus.projectschedule.common.dto.activities.Activity;
import com.archetypus.projectschedule.common.dto.activities.ActivityListHandler;
import com.archetypus.projectschedule.common.dto.projects.Project;
import com.archetypus.projectschedule.common.exceptions.ProjectSchedulerException;

public interface IActivitySF {
	public ActivityListHandler listActivities() throws ProjectSchedulerException;
	public ActivityListHandler listActivitiesByProject(Project project) throws ProjectSchedulerException;
	public void createActivity(Activity activity) throws ProjectSchedulerException;
	public void updateActivity(Activity activity) throws ProjectSchedulerException;
	public void deleteActivity(Activity activity) throws ProjectSchedulerException;
	public Activity findActivity(Activity activity) throws ProjectSchedulerException;
}
